/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const businessRouter = {
  path: '/business',
  component: Layout,
  redirect: 'noRedirect',
  name: 'business',
  meta: {
    title: '业务中心',
    icon: 'chart'
  },
  children: [
    {
      path: 'keyboard',
      component: () => import('@/views/manage/business/keyboard'),
      name: 'KeyboardChart',
      meta: { title: '业务线', noCache: true }
    },
    {
      path: 'line',
      component: () => import('@/views/manage/business/line'),
      name: '业务流',
      meta: { title: 'lineChart', noCache: true }
    }
  ]
}

export default businessRouter
